package ywpt.service.config;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.ScanType;

public interface ScanTypeService {

	public abstract ScanType getScanTypeById(Long id);

	public abstract int getScanTypeCountByCriteria(DetachedCriteria query);

	public abstract List<ScanType> getScanTypes(
			DetachedCriteria query, int pageSize, int startIndex);
	
	public abstract List<ScanType> getScanTypes(DetachedCriteria query);

	public abstract List<ScanType> getAllScanTypes();
	
	public abstract String createScanTypeCode();

	public abstract void saveScanType(ScanType scanType);

	public abstract void updatScanType(ScanType scanType);

	public abstract void removeScanType(Long id);
}
